308066c9affb45e4b8cb76721e3c863d29421223,modules/logger/file/log4jdbc-logger-file-core/src/main/java/fr/ms/log4jdbc/utils/Log4JdbcProperties.java,Log4JdbcProperties,getInputStream,#String#,237
Before Change
e.printStackTrace();
}
} else {
propStream = Log4JdbcProperties.class.getResourceAsStream(path);
}
if (propStream != null) {
propStream = new InputStreamWrapper(propStream);
}
return propStream;
}
private Properties getLoadProperties() {
After Change
System.err.println("Tried to open log4jdbc properties file at " + f.getPath() + " but couldn't find it, failing over to see if it can be opened on the classpath.");
}
}
final InputStream stream = Log4JdbcProperties.class.getResourceAsStream(path);
if (stream == null) {
throw new RuntimeException("Tried to open " + path + " from the classpath but couldn't find it there. Please check your configuration.");
}
return new InputStreamReader(new InputStreamWrapper(stream));
}
private Properties getLoadProperties() {